import request from '@/utils/request'
//获取设备
export function getDevice(params) {
  return request({
    url: `/hospital/device/${params}`,
    method: "get",
  })
}
//获取生命周期
export function getDeviceLifeCycle(params) {
  return request({
    url: `/hospital/device/lifeCycle/${params}`,
    method: "get",
  })
}
//设备巡检记录
export function getListFinishWorkOrder(params) {
  return request({
    url: "/inspection/workOrderDevice/listFinishWorkOrder",
    method: "get",
    params
  })
}
//获取巡检历史列表
export function getHistoryList(params) {
  return request({
    url: "/hospital/deviceHistory/list",
    method: "get",
    params
  })
}
